import os
from dotenv import load_dotenv

load_dotenv()
<<<<<<< HEAD
=======

>>>>>>> 7245172afa54706ac2f9973f27248496e8835d1c

class Config:
    SECRET_KEY = os.getenv('SECRET_KEY')
    USERNAME = os.getenv('DB_USERNAME')
    PASSWORD = os.getenv('DB_PASSWORD')
    HOST = os.getenv('DB_HOST')
    DB_NAME = os.getenv('DB_NAME')
<<<<<<< HEAD
    
    SQLALCHEMY_DATABASE_URI = f'mysql+pymysql://{USERNAME}:{PASSWORD}@{HOST}/{DB_NAME}'
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    
=======

    SQLALCHEMY_DATABASE_URI = f'mysql+pymysql://{
        USERNAME}:{PASSWORD}@{HOST}/{DB_NAME}'
    SQLALCHEMY_TRACK_MODIFICATIONS = False

>>>>>>> 7245172afa54706ac2f9973f27248496e8835d1c
    # 初始化密码
    INIT_PASSWORD = os.getenv('INIT_PASSWORD')
